(pure): Round PURESIZE up.
authorAndreas Schwab <schwab@suse.de>
Sun, 19 Aug 2007 00:16:20 +0000 (00:16 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 19 Aug 2007 00:16:20 +0000 (00:16 +0000)
src/alloc.c

index 948b87851a7e2e5a00e10b16046ad390321b515d..bcec8ea45606d56797ccec3e63275e0c502a1a70 100644 (file)
@@ -266,7 +266,7 @@ Lisp_Object Vmemory_full;
    remapping on more recent systems because this is less important
    nowadays than in the days of small memories and timesharing.  */
 
-EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,};
+EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,};
 #define PUREBEG (char *) pure
 
 #else /* HAVE_SHM */